var act=document.querySelectorAll(".navTab span");
var regid=document.querySelector(".reg-id");
var regphone=document.querySelector(".reg-phone");
act[0].addEventListener("click",function(){
	for (var j = 0; j < act.length; j++) {
		act[j].className="";
	}
	act[0].className="active";
	regid.style.display="block";
	regphone.style.display="none";
})
act[1].addEventListener("click",function(){
	for (var j = 0; j < act.length; j++) {
		act[j].className="";
	}
	act[1].className="active";
	regphone.style.display="block";
	regid.style.display="none";
})
